package com.jiazhong.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.commons.Util.JsonResult;
import com.jiazhong.commons.bean.Category;
import org.springframework.stereotype.Service;

@Service
public interface CategoryService extends IService<Category> {
    JsonResult findPage(int page,int size);

    JsonResult findSearch(String name, int page, int size);

    JsonResult saveCategory(Category category);

    JsonResult removeCategory(String id);

    JsonResult findExists(String colum,String value);


}
